Routines (alphabetical) > Routines: C > CDF Routines > CDF_DELETE

CDF_DELETE

The CDF_DELETE procedure deletes the specified Common Data Format file. Files deleted include the original .cdf file and the .v0, .v1, etc. files if they exist.

Syntax

CDF_DELETE, Id

Arguments

Id

The CDF ID of the file to be deleted, returned from a previous call to CDF_OPEN or CDF_CREATE.

Keywords

None

Examples

id = CDF_OPEN('open_close.cdf'); Open a file.

; ... other CDF_ commands ...

CDF_DELETE, id ; Close and Delete the cdf file.

Version History

 

Pre 4.0

Introduced